<?
require_once('../../models/Accounts.php');
//DoLogin('danielayacovone@gmail.com', '', '');
?>

<!DOCTYPE html>
<html lang="en">
	<?php include('../../inc/head.php'); ?>
	<body>
		<div>
			<?php include('../../inc/nav.php') ?>
		
			<div id="content">
				<? if (!IsLoggedIn()) : ?>
					<form class="form-horizontal" action="Login.php" method="post">
						User ID (email): <input type="text" name="userID"><br>
						Password: <input type="password" name="password"><br>
						<div class="control-group">
							<div class="controls">
								<input type="submit" value="Login" class="btn btn-primary">
							</div>
						</div>
					</form>
			</div>
			<div id="content">
				<a href="CreateAccount.php">Or create account</a>
			</div>
			<? endif; ?>
			<?php include('../../inc/footer.php'); ?>
		</div>
	</body>
</html>